Programming in Three-valued Logic

نویسندگان

  • Jean-Paul Delahaye
  • V. Thibau
چکیده

The aim of this paper is to propose a logical and algebraic theory which seems well-suited to logic programs with negatior, and deductive databases. This theory has similar properties to those of Prolog theory limited to programs with Horn clauses and tbns can be considered as sn extension of the usual theory. This parallel with logic programming without negation lies in the introduction of a third truth value (Indefinite) and of a new non-monotonic implication connective. Our proposition is different from the other ways of introducing a third truth value already used in Logic Programming and databases but it is somehow related to some of the. " , espeklly to Fitting's theor,l. We introduce a " consequencs " operator associated with a logic program with negation which extends the operator of Apt and Van Emden. In the case of a consistent program, the post-fixpoints uf this opera:or are the models of the program as they are usually. This operator is related 10 Fittine's one, the relation being obtained by completing the program. We ficslly $ve an operational semnntics for B program with negation by the abtention ofa three-valued interpreter from a bivalued one. When treating negation in logic programming, many problems must be faced and attempts to solve them may be sorted out more or less according to their faithfulness to negation as failure, which is the negation really used in Prolog [4, 10, 14, 22, 231. It does not seem possible to stay close to Prolog while having an easy axiomatical semantics: we are not sure to find a sound and complete semantics for negation as faiiure. A negation other than negation as failure is also used in expert systems working in forwards chaining. The theory we propose here is quite general and can be applied to both Logic Programming and this negation. It has good theoretical and algebraic properties similar to those obtained in logic programming with negation. The parallel lies in the introduction of a third truth value, indefinite and a new non-monotonic implication connective denoted by +. We thus obtain a very simple way of treating negation

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Logic programming with default, weak and strict negations

This paper looks at logic programming with three kinds of negation: default, weak and strict negations. A 3-valued logic model theory is discussed for logic programs with three kinds of negation. The procedure is constructed for negations so that a soundness of the procedure is guaranteed in terms of 3-valued logic model theory.

متن کامل

Truth versus information in logic programming

The semantics of logic programs was originally described in terms of two-valued logic. Soon, however, it was realised that three-valued logic had some natural advantages, as it provides distinct values not only for truth and falsehood, but also for “undefined”. The three-valued semantics proposed by Fitting and by Kunen are closely related to what is computed by a logic program, the third truth...

متن کامل

Learning Three-Valued Logic Programs

We show that the adoption of a three-valued setting for inductive concept learning is particularly useful for learning. Distinguishing between what is true, what is false and what is unknown can be useful in situations where decisions have to be taken on the basis of scarce information. In order to learn in a three-valued setting, we adopt Extended Logic Programs (ELP) under a Well-Founded Sema...

متن کامل

Revisiting C1

We show that logic C1 cannot be extended to a paraconsistent logic in which the substitution theorem is valid. We show with the help of an answer set programming (ASP) tool called clasp, that C1 is robust with respect to certain three valued paraconsistent logics with some desirable properties. In particular C1 is robust with respect to three-valued logic P2, a logic for which some of the De Mo...

متن کامل

Towards a Declarative Approach to Model Human Reasoning with Nonmonotonic Logics

Stenning and van Lambalgen introduced an approach to model empirically studied human reasoning with nonmonotonic logics. Some of the research questions that have been brought up in this context concern the interplay of the openand closed-world assumption, the suitability of particular logic programming semantics for the modeling of human reasoning, and the role of three-valued logic programming...

متن کامل

A Complete Axiomatization of the Three-Valued Completion of Logic Programs

We prove the completeness of extended SLDNF-resolution for the new class of ε-programs with respect to the three-valued completion of a logic program. Not only the class of allowed programs but also the class of definite programs are contained in the class of ε-programs. To understand better the three-valued completion of a logic program we introduce a formal system for three-valued logic in wh...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Theor. Comput. Sci.

دوره 78  شماره 

صفحات  -

تاریخ انتشار 1991